package com.blkj.spring_boot_blkj.mapper;

import com.blkj.spring_boot_blkj.pojo.DemoUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DemoUserDao {
    List<DemoUser> queryLimit(Integer currentPage, Integer pageSize);

    Integer addUser(DemoUser user);

    Integer updateUser(DemoUser user);

    Integer deleteUser(DemoUser user);
}
